<?php
namespace app\api\controller;
use think\Controller;
use think\Session;
class CVideos extends Controller
{
    public function getList(){
        $id=input('id');
        $result=db('videos')->select();
        if($result)
        {
            echo json_encode($result);
        }
        else
            echo json_encode(['0']);
        die();

    }
}
